package com.ruoyi.system.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.ArticleInfo;
import com.ruoyi.system.domain.vo.coopHan.PageCulvertVo;
import com.ruoyi.system.dto.article.PageArticleDto;
import com.ruoyi.system.dto.coopHan.PageCulvertDto;

import java.util.List;

/**
 * <p>
 * 文章管理 服务类
 * </p>
 *
 * @author yanfu
 * @since 2024-04-07
 */
public interface IArticleInfoService extends IService<ArticleInfo> {
    //生成基础的crud方法
    public boolean save(ArticleInfo articleInfo);
    public int update(ArticleInfo articleInfo);
    public void delete(List<Long> id);
    public ArticleInfo selectById(Long id);
//    public ArticleInfo selectList(ArticleInfo articleInfo);
    Page<ArticleInfo> pageCulvert(PageArticleDto dto);

    public List<ArticleInfo> selectByList();

}
